Skip to main content

Transfers with Negative Measured Values

This analysis rule includes the transfer elements that have a negative measured mass/volume. A transfer that has a negative measured mass volume can indicate the following:

  • Direction of transfer is incorrect
  • It is a sales or receipt adjustment
  • Incorrect gauges were used to calculate the transfer quantity
  • Invalid data

The following table lists a sample log output for this analysis.

Sample Log

TimeSeverityElementAttributeMessage
9/1/2005 10:06...REPORTING TRANSFERS WITH NEGATIVE MEASURED VALUE – BASIS = MASS
9/1/2005 10:06ErrorTransferAMeasuredMassMeasuredMass = -500 (kg); Source: TankA; Destination: TankB

Analysis Method

  1. Collect a list of all transfer elements within the time range of the Case that satisfy the following criteria:
  • Status Attribute value is IS (In Service)
  1. If the transfer measured mass/volume is not negative, remove it from the analyzed list.
  2. Write to the log section of the case. Report the test name and the Measurement Basis. Report the list of offending transfers, ordered by name and cause of violation.

Configuration Using the Wizard

The configuration of the Transfers with Negative Measured Values calculation is a selection of the General Gross Error Analysis Rule. You open the window for configuring the test (shown in the following figure) from the General Gross Error Analysis Rule Wizard.

  1. Open the Gross Error Configuration window as described in Configuring - General Gross Error Analysis Rule.

  2. On the Transfers tab, select Transfers with negative measured values.

    A Transfers with negative measured values - Attributes window opens.Figure 407: Transfers with negative measured values - Attributes window

  3. Select measurement basis and the Attributes according to the following table:

    Attributes

    SelectionsDescription
    Measurement BasisSelect either mass or volume basis.
    MeasurementTank inventory actual measurement. The default is 'MeasuredMass' or 'NetVolume' depending on mass or volume selection.
    CorrectedTransfer corrected measurement. The default is 'CorrectedMass' or 'CorrectedVolume' depending on mass or volume selection.
    Manual FlagFlag to indicate if a corrected measurement was used for the transfer. The default is to 'ManualAdjustmentFlag'.
    StatusTransfer in/out of service status. The default is to 'ObjectStatus'.
  4. Click OK to finish the configuration.

    The text "CONFIGURED" displays next to the 'Transfers with negative measured values' selection.

  5. To run this test, see Running the General Gross Error Analysis.